package com.qiall.boot.fileservice.impl.fileuploadSuccessEvent;

import org.springframework.context.ApplicationEvent;

public class UploadSuccessEvent extends ApplicationEvent {
    private Integer fileId;
    private String fromId;
    public UploadSuccessEvent(Object source, Integer fileId,String fromId) {
        super(source);
        this.fileId = fileId;
        this.fromId=fromId;
    }

    public Integer getFileId() {
        return fileId;
    }
    public String getFromId(){return fromId;}
}
